
<!--created by SBDEAM2004Creator Version0.5-->
<%@ include file="/publics/grid_head.inc"%>
<%@ include file="/publics/grid_datahead.inc"%>
<%@ include file="gbusiness_fina_prov_invoice_return.inc"%>
<!--data-->
<div id="gridData" class="gridDiv">
<form action="<%=CONTEXTPATH%>/commonAction.do" method="post" name="frmAction">
<sbdhtc:datagrid id="datagrid" operationType="<%=operationType%>">
<table id="tblgrid" class="gridTbl">
<thead>
<tr>
	<td width="20" class="gridHead">No.</td>
<td <%=isNowrap%> class="gridHead" width=75 id="finance_provider.finance_status"><a href="#" id="sort_finance_provider.finance_status" onclick="return f_setSort('finance_provider.finance_status');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.finance_status"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="finance_provider.finance_provider_code"><a href="#" id="sort_finance_provider.finance_provider_code" onclick="return f_setSort('finance_provider.finance_provider_code');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.finance_provider_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="finance_provider.active_date"><a href="#" id="sort_finance_provider.active_date" onclick="return f_setSort('finance_provider.active_date');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.active_date"/></a></td><td <%=isNowrap%> class="gridHead" width=105 id="finance_provider.provider_code"><a href="#" id="sort_finance_provider.provider_code" onclick="return f_setSort('finance_provider.provider_code');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.provider_code"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="finance_provider.provider_name"><a href="#" id="sort_finance_provider.provider_name" onclick="return f_setSort('finance_provider.provider_name');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.provider_name"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="finance_provider.finance_person"><a href="#" id="sort_finance_provider.finance_person" onclick="return f_setSort('finance_provider.finance_person');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.finance_person"/></a></td><td <%=isNowrap%> class="gridHead" width=62 id="finance_provider.is_tax"><a href="#" id="sort_finance_provider.is_tax" onclick="return f_setSort('finance_provider.is_tax');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.is_tax"/></a></td><td <%=isNowrap%> class="gridHead" width=50 id="finance_provider.tax_rate"><a href="#" id="sort_finance_provider.tax_rate" onclick="return f_setSort('finance_provider.tax_rate');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.tax_rate"/></a></td><td <%=isNowrap%> class="gridHead" width=92 id="finance_provider.sum_in"><a href="#" id="sort_finance_provider.sum_in" onclick="return f_setSort('finance_provider.sum_in');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.sum_in"/></a></td><td <%=isNowrap%> class="gridHead" width=99 id="finance_provider.sum_invoice_other"><a href="#" id="sort_finance_provider.sum_invoice_other" onclick="return f_setSort('finance_provider.sum_invoice_other');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.sum_invoice_other"/></a></td><td <%=isNowrap%> class="gridHead" width=89 id="finance_provider.sum_invoice"><a href="#" id="sort_finance_provider.sum_invoice" onclick="return f_setSort('finance_provider.sum_invoice');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.sum_invoice"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sum_balance"><a href="#" id="sort_sum_balance" onclick="return f_setSort('sum_balance');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.sum_balance"/></a></td><td <%=isNowrap%> class="gridHead" width=110 id="finance_provider.adjust_after_cost"><a href="#" id="sort_finance_provider.adjust_after_cost" onclick="return f_setSort('finance_provider.adjust_after_cost');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.adjust_after_cost"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="finance_provider.item_code"><a href="#" id="sort_finance_provider.item_code" onclick="return f_setSort('finance_provider.item_code');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.item_code"/></a></td><td <%=isNowrap%> class="gridHead" width=110 id="finance_provider.material_type"><a href="#" id="sort_finance_provider.material_type" onclick="return f_setSort('finance_provider.material_type');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.material_type"/></a></td><td <%=isNowrap%> class="gridHead" width=500 id="finance_provider.memo"><a href="#" id="sort_finance_provider.memo" onclick="return f_setSort('finance_provider.memo');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.memo"/></a></td><td <%=isNowrap%> class="gridHead" width=500 id="finance_provider.item_name"><a href="#" id="sort_finance_provider.item_name" onclick="return f_setSort('finance_provider.item_name');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.item_name"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="finance_provider.confirm_date"><a href="#" id="sort_finance_provider.confirm_date" onclick="return f_setSort('finance_provider.confirm_date');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.confirm_date"/></a></td>

<td <%=isNowrap%> class="gridHead" width=92 id="finance_provider.is_favor"><a href="#" id="sort_finance_provider.is_favor" onclick="return f_setSort('finance_provider.is_favor');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.is_favor"/></a></td><td <%=isNowrap%> class="gridHead" width=92 id="finance_provider.is_partfavor"><a href="#" id="sort_finance_provider.is_partfavor" onclick="return f_setSort('finance_provider.is_partfavor');" class="sortHref"><eam:message key="column.FINA_PROV_INVOICE_RETURN.finance_provider.is_partfavor"/></a></td>
</tr>
</thead>
<tbody>
<%String strDdlb = "";String sbddesc="";%>
<eam:iterateResult>
<tr style="display:<%=PageUtilMethod.getValueByMap("visible", rowMap)%>" id="<%=PageUtilMethod.getValueByMap("finance_provider.finance_provider_id", rowMap)%>" class="gridData" <%=PageUtilMethod.getValueByMap("rowEvent", rowMap)%>>
	<td align="center" class="gridHead">
	<%=PageUtilMethod.getValueByMap("indexNO", rowMap)%>
	<input type="hidden" value="" name="keyID">
	</td>
<td <%=isNowrap%> align="left" id="finance_provider.finance_status"><%strDdlb = "ddlb.finance_status." + PageUtilMethod.getValueByMap("finance_provider.finance_status", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="left" id="finance_provider.finance_provider_code"><%=PageUtilMethod.getValueByMap("finance_provider.finance_provider_code", rowMap)%></td><td <%=isNowrap%> align="center" id="finance_provider.active_date"><%=PageUtilMethod.getValueByMap("finance_provider.active_date", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.provider_code"><%=PageUtilMethod.getValueByMap("finance_provider.provider_code", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.provider_name"><%=PageUtilMethod.getValueByMap("finance_provider.provider_name", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.finance_person"><%=PageUtilMethod.getValueByMap("finance_provider.finance_person", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.is_tax"><%strDdlb = "ddlb.yesno." + PageUtilMethod.getValueByMap("finance_provider.is_tax", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="right" id="finance_provider.tax_rate"><%=PageUtilMethod.getValueByMap("finance_provider.tax_rate", rowMap)%></td><td <%=isNowrap%> align="right" id="finance_provider.sum_in"><%=PageUtilMethod.getValueByMap("finance_provider.sum_in", rowMap)%></td><td <%=isNowrap%> align="right" id="finance_provider.sum_invoice_other"><%=PageUtilMethod.getValueByMap("finance_provider.sum_invoice_other", rowMap)%></td><td <%=isNowrap%> align="right" id="finance_provider.sum_invoice"><%=PageUtilMethod.getValueByMap("finance_provider.sum_invoice", rowMap)%></td><td <%=isNowrap%> align="right" id="sum_balance"><%=(new java.math.BigDecimal (TypeConvert.str2double(PageUtilMethod.getValueByMap("finance_provider.sum_invoice",rowMap))+TypeConvert.str2double(PageUtilMethod.getValueByMap("finance_provider.sum_invoice_other",rowMap))-TypeConvert.str2double(PageUtilMethod.getValueByMap("finance_provider.sum_in",rowMap)))).setScale(2, 4)%></td><td <%=isNowrap%> align="right" id="finance_provider.adjust_after_cost"><%=PageUtilMethod.getValueByMap("finance_provider.adjust_after_cost", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.item_code"><%=PageUtilMethod.getValueByMap("finance_provider.item_code", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.material_type"><%=PageUtilMethod.getValueByMap("finance_provider.material_type", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.memo"><%=PageUtilMethod.getValueByMap("finance_provider.memo", rowMap)%></td><td <%=isNowrap%> align="left" id="finance_provider.item_name"><%=PageUtilMethod.getValueByMap("finance_provider.item_name", rowMap)%></td><td <%=isNowrap%> align="center" id="finance_provider.confirm_date"><%=PageUtilMethod.getValueByMap("finance_provider.confirm_date", rowMap)%></td>

<td <%=isNowrap%> align="left" id="finance_provider.is_favor" width=92><%strDdlb = "ddlb.yesno." + PageUtilMethod.getValueByMap("finance_provider.is_favor", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="left" id="finance_provider.is_partfavor" width=92><%strDdlb = "ddlb.yesno." + PageUtilMethod.getValueByMap("finance_provider.is_partfavor", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td>

<td style="display:none" id="finance_provider.auditing_invoice"><%strDdlb = "ddlb.audit." + PageUtilMethod.getValueByMap("finance_provider.auditing_invoice", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td style="display:none" id="finance_provider.auditing"><%if(PageUtilMethod.getValueByMap("finance_provider.auditing", rowMap).equals("1")){strDdlb="checked";}else{strDdlb="";}%><input type="checkbox" <%=strDdlb%>></td><td style="display:none" id="finance_provider.add_date"><%=PageUtilMethod.getValueByMap("finance_provider.add_date", rowMap)%></td><td style="display:none" id="finance_provider.modify_date"><%=PageUtilMethod.getValueByMap("finance_provider.modify_date", rowMap)%></td><td style="display:none" id="finance_provider.item_id"><%=PageUtilMethod.getValueByMap("finance_provider.item_id", rowMap)%></td><td style="display:none" id="finance_provider.provider_id"><%=PageUtilMethod.getValueByMap("finance_provider.provider_id", rowMap)%></td><td style="display:none" id="finance_provider.material_type_id"><%=PageUtilMethod.getValueByMap("finance_provider.material_type_id", rowMap)%></td><td style="display:none" id="finance_provider.finance_provider_id"><%=PageUtilMethod.getValueByMap("finance_provider.finance_provider_id", rowMap)%></td><td style="display:none" id="finance_provider.modify_person_id"><%=PageUtilMethod.getValueByMap("finance_provider.modify_person_id", rowMap)%></td><td style="display:none" id="finance_provider.add_person_id"><%=PageUtilMethod.getValueByMap("finance_provider.add_person_id", rowMap)%></td><td style="display:none" id="finance_provider.finance_man_id"><%=PageUtilMethod.getValueByMap("finance_provider.finance_man_id", rowMap)%></td>
</tr>
</eam:iterateResult>
</tbody>
<tfoot>
<eam:TotalResult />
<tr id="total" class="gridFoot" style="display:<%=visible%>">
	<td align="center"><eam:message key="grid.text.sum"/><input type="hidden" value="" name="keyID"></td>
<td align="left" id="total_finance_status"><%=PageUtilMethod.getValueByMap("total_finance_status" ,totalMap)%></td><td align="left" id="total_finance_provider_code"><%=PageUtilMethod.getValueByMap("total_finance_provider_code" ,totalMap)%></td><td align="center" id="total_active_date"><%=PageUtilMethod.getValueByMap("total_active_date" ,totalMap)%></td><td align="left" id="total_provider_code"><%=PageUtilMethod.getValueByMap("total_provider_code" ,totalMap)%></td><td align="left" id="total_provider_name"><%=PageUtilMethod.getValueByMap("total_provider_name" ,totalMap)%></td><td align="left" id="total_finance_person"><%=PageUtilMethod.getValueByMap("total_finance_person" ,totalMap)%></td><td align="left" id="total_is_tax"><%=PageUtilMethod.getValueByMap("total_is_tax" ,totalMap)%></td><td align="right" id="total_tax_rate"><%=PageUtilMethod.getValueByMap("total_tax_rate" ,totalMap)%></td><td align="right" id="total_sum_in"><%=PageUtilMethod.getValueByMap("total_sum_in" ,totalMap)%></td><td align="right" id="total_sum_invoice_other"><%=PageUtilMethod.getValueByMap("total_sum_invoice_other" ,totalMap)%></td><td align="right" id="total_sum_invoice"><%=PageUtilMethod.getValueByMap("total_sum_invoice" ,totalMap)%></td><td align="right" id="total_sum_balance"><%=StringFormat.doubleFormat(TypeConvert.str2double(PageUtilMethod.getValueByMap("total_sum_invoice",totalMap))+TypeConvert.str2double(PageUtilMethod.getValueByMap("total_sum_invoice_other",totalMap))-TypeConvert.str2double(PageUtilMethod.getValueByMap("total_sum_in",totalMap)))%></td><td align="right" id="total_adjust_after_cost"><%=PageUtilMethod.getValueByMap("total_adjust_after_cost" ,totalMap)%></td><td align="left" id="total_item_code"><%=PageUtilMethod.getValueByMap("total_item_code" ,totalMap)%></td><td align="left" id="total_material_type"><%=PageUtilMethod.getValueByMap("total_material_type" ,totalMap)%></td><td align="left" id="total_memo"><%=PageUtilMethod.getValueByMap("total_memo" ,totalMap)%></td><td align="left" id="total_item_name"><%=PageUtilMethod.getValueByMap("total_item_name" ,totalMap)%></td><td align="center" id="total_confirm_date"><%=PageUtilMethod.getValueByMap("total_confirm_date" ,totalMap)%></td>

<td align="center" id="total_is_favor"><%=PageUtilMethod.getValueByMap("total_is_favor" ,totalMap)%></td><td align="center" id="total_is_partfavor"><%=PageUtilMethod.getValueByMap("total_is_partfavor" ,totalMap)%></td>
</tr>
</tfoot>
</table>
</sbdhtc:datagrid>
<%@ include file="/publics/grid_formhidden.inc"%>
</form>
</div>
<!--data-->
<%@ include file="/publics/grid_databottom.inc"%>
<%@ include file="/publics/grid_bottom.inc"%>
